<html>
	<body>
		<h3>
			欢迎登录!
		</h3>
		<form action="${rc.contextPath}/screener/doLogin" name="loginForm" method="post">
		用户名:<input type="text" name="loginId" id="loginId"/><br />
		密     码:<input type="password" name="password" id="password"/><br />
		<input type="button" value="登录" onclick="login();return false;"/>
		</form>
	</body>
	<script type="text/javascript">
		function login(){
			var loginId = document.getElementById("loginId").value;
			var password = document.getElementById("password").value;
			
			if(loginId == ''){
				alert("用户名不能为空");
				return;
			}
			if(password == ''){
				alert("密码不能为空");
				return ;
			}
			document.loginForm.submit();
		}
	</script>
</html>
